﻿@using System.Text
@using OA.Model
@using OA.AspNetCore.Html
@using OA.Core.Model
@using OA.Core.Helper
@using X.PagedList

@{
    Layout = "~/Areas/Member/Views/Shared/_Layout.cshtml";
}
<div class="layui-tab layui-tab-brief" lay-filter="user">
    <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 5px 0;">
        <form action="" class="layui-form">
            <div class="layui-inline">
                <div class="layui-input-inline">
                    <input type="text" name="keyWord" class="layui-input" placeholder="请输入姓名或者工号">
                </div>
            </div>
            <div class="layui-inline">
                <button type="button" class="layui-btn searchButton">搜索</button>
            </div>
        </form>
    </div>
    <table class="layui-table" lay-data="{url:'/Management/TestPaper/GetStatisticsData?id=@ViewBag.ID', cellMinWidth: 80, page: true,limit:15}" id="resultList" lay-filter="resultList">
        <thead>
            <tr>
                <th lay-data="{field:'EmpID', width:80, align:'center'}">工号</th>
                <th lay-data="{ field: 'EmpName',edit: 'text'}">姓名</th>
                <th lay-data="{field:'Title', width:300}">试题</th>
                <th lay-data="{field:'StartTime', width:180, align:'center'}">开始时间</th>
                <th lay-data="{field:'EndTime', width:180, align:'center'}">结束时间</th>
                <th lay-data="{field:'StatusName', width:80, align:'center'}">状态</th>
                <th lay-data="{field:'FillingDate', width:180, align:'center'}">考试时间</th>
                <th lay-data="{field:'TotalScore', width:80, align:'center'}">总分</th>
                <th lay-data="{field:'Score', width:80, align:'center'}">得分</th>
                <th lay-data="{fixed: 'right', width:120, align:'center', toolbar: '#barDemo'}">操作</th>
            </tr>
        </thead>
    </table>
    <script type="text/html" id="barDemo">
        <a class="layui-btn layui-btn-primary layui-btn-xs" href="javascript:ShowPage('/Management/TestPaper/Show?id={{d.ID}}','查看')">查看</a>

    </script>
</div>